package com.lqq.eduservice.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lqq.eduservice.entity.EduArticle;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2021-07-17
 */
public interface EduArticleService extends IService<EduArticle> {

    //分页查询article（前台）
    Map<String, Object> getArticleList(Page<EduArticle> pageArticle);

    //分页查询article（后台）
    Map<String, Object> getArticleAdmin(Page<EduArticle> pageArticle);
}
